<?php

class ExcelReport extends AbstractReport {

    const EXTENSION = '.xls';

    public function download() {
        header ('Last-Modified: ' . gmdate('D,d M YH:i:s') . ' GMT');
        header('Content-Transfer-Encoding: none');
        header ('Content-type: application/ms-excel');
        header ('Content-Disposition: attachment; filename="'.$this->StFileName.self::EXTENSION.'"');
    }

}

?>
